import request from '@/utils/request'

export function getDepts(data) {
  return request({
    url: '/backup/web/dept/get_depts',
    method: 'post',
    data
  })
}
export function addDept(data) {
  return request({
    url: '/backup/web/dept/add_dept',
    method: 'post',
    data
  })
}
export function updateDept(data) {
  return request({
    url: '/backup/web/dept/update_dept',
    method: 'post',
    data
  })
}
export function deleteDept(data) {
  return request({
    url: '/backup/web/dept/delete_dept',
    method: 'post',
    data
  })
}

